package name.fowler.refactoring.simplestore.reporter;

import java.util.List;


public class Reporter {
	private ReportFormatter formatter;
	
	public Reporter(){
	}
	
	public void setFormatter(ReportFormatter formatter){
		this.formatter = formatter;
	}
	
	public void formReport(List<String> reportStructure){
		String report = formatter.formatReport(reportStructure);
		System.out.println(report);
	}
}
